<template>
  <div>
    role
    <button @click="goEdit(1)">编辑</button>
  </div>
</template>

<script>
export default {
  methods: {
    goEdit(id) {
      this.$router.push({name: 'Edit', params: {id: id}})
    }
  }
}
</script>

<style>

</style>